cmake_minimum_required(VERSION 3.16)

set(APP_NAME bongo-cat)

project (${APP_NAME})

#设置库文件存放路径
#set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/rundir/bin)
 
#设置执行文件存放路径
#set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/rundir/bin)

set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/rundir/bin)
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/rundir/bin)
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/rundir/bin)

add_subdirectory(libcat)
add_subdirectory(liblive2d)
add_subdirectory(plugins)
add_subdirectory(frontend)
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT cat)